package com.qms.tubu.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Mad on 2015/7/2.
 */
public abstract class BaseRecyclerAdapter<T> extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
    protected List<T> mList;
    protected Context mContent;
    public BaseRecyclerAdapter(Context context)
    {
        mContent=context;
        mList=new ArrayList<T>();
    }



    @Override
    public int getItemCount() {
        return mList.size();
    }
}
